import requests


class RegisterTp:

    def tp_register(self,register_data):
        session=requests.Session()
        session.get(url='http://hmshop-test.itheima.net/index.php?m=Home&c=User&a=verify&type=user_reg&r=0.5407055465190032')
        response=session.post(url='http://hmshop-test.itheima.net/Home/User/reg.html',json=register_data)
        return response
